package com.smalluz.ad.modules.oe.bean;

import java.io.Serializable;
import java.util.List;

import com.smalluz.ad.modules.oe.bean.report.AdReportFiltering;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author biteam
 * @Title: AdReportRequestDTO
 * @Description: TODO(描述)
 * @site http://www.smalluz.com/
 * @email 510711793@qq.com
 * @date 2022-06-16 21:14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdReportRequest implements Serializable {
 
    private static final long serialVersionUID = -4354501648277843194L;

    @JsonProperty("advertiser_id")
    private String advertiserId;

    @JsonProperty("start_date")
    private String startDate;
    
    @JsonProperty("end_date")
    private String endDate;
    
    @JsonProperty("fields")
    private List<String> fields;

    @JsonProperty("group_by")
    private List<String> groupBy;

    @JsonProperty("filtering")
    private AdReportFiltering filtering;

    @JsonProperty("time_granularity")
    private String timeGranularity;

    @JsonProperty("order_field")
    private String orderField;

    @JsonProperty("order_type")
    private String orderType;

    @JsonProperty("page")
    private Long page;

    @JsonProperty("page_size")
    private Long pageSize;
}
